#ifndef _PARTITION_H__
#define _PARTITION_H__
#include <vector>
using namespace std;
#include <proc/connection.h>
using namespace Oracle;

struct PARTITION
{
	string name;
	string highValue;
};

class Partition
{
public:
	Partition(Connection &connection, const string &table, int method);
	
	const string &getPartitionType()
	{
		return partitionType;
	}
	const string &getColumn()
	{
		return column;
	}
	const vector<PARTITION> &getPartition()
	{
		return partition;
	}
	
private:
	string table;
	string partitionType;
	string column;
	vector<PARTITION> partition;
};

#endif
